package com.spzx.product.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.spzx.common.core.vo.BaseVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 品牌与商品分类关联关系展示类 CategoryBrandVo
 *
 * @author gaozz
 */
@Data
@Schema(description = "品牌与商品分类关联关系")
public class CategoryBrandVo extends BaseVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "品牌ID")
    private Long brandId;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "品牌名称")
    private String brandName;

    @Schema(description = "品牌图标")
    private String logo;

    @Schema(description = "分类id列表")
    private List<Long> categoryIdList;

    @JsonIgnore
    private Long category2Id;

    @JsonIgnore
    private Long category1Id;
}
